.container {
  padding: 15px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.main-content {
  margin: 0 auto;
  width: 100%;
}

/* <-- 使布局更加紧凑 */

.el-main {
  padding: 5px 10px;
}

.el-card__header {
  padding: 8px 16px;
}

.el-card__body {
  padding: 6px 10px;
}

.el-table td, .el-table th {
  padding: 6px 0;
}

.el-tabs__header {
  margin: 0 0 5px;
}

.el-tabs__item {
  padding: 0 10px;
}

.el-form-item {
  margin-bottom: 18px;
}

.tip {
  padding: 3px 5px;
  font-size: 16px;
  border-radius: 0;
  border-left: 4px solid #783887;
  margin: 5px 5px 10px 5px;
}

.el-divider--horizontal {
  margin: 10px 0 5px 0;
}

/* --> */

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 14px;
  margin: 0;
  /*--color: #2c2a48;*/
  /*--color_shallow: #595591;*/
  --color: '';
  --primary_color: '';
  --color_shallow: '';
  --count_number: '';
  --count_number_shallow: '';
}

/* 解决 document.body.clientHeight 为0 */
html,body {
  height:100%
}

textarea {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

.main-content span.title {
  font-size: 16px;
  font-weight: 500;
  margin-top: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  word-wrap: break-word;
  white-space: nowrap;
}

/* 解决高度塌陷和边距重叠 */
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* 解决富文本框中link显示问题 */
.ck-rounded-corners .ck.ck-balloon-panel, .ck.ck-balloon-panel.ck-rounded-corners {
  z-index: 10055 !important;
}

.table-card > .el-card__body {
  padding-top: 0;
}

/* Safari 表格不错位 */
.el-table__body {
  width: 100%;
  table-layout: fixed !important;
}

/* <-- 表格拖拽表头调整宽度，在 t-bable 上添加 border 属性，并添加 adjust-table 类名 */
.adjust-table td {
  border-right: 0 !important;
}

.adjust-table th {
  border-right-color: white !important;
}

.adjust-table.ms-select-all-fixed th:first-child.el-table-column--selection {
  border-right-color: #DCDFE6 !important;
}

.adjust-table {
  border-color: white !important;
}

.adjust-table:after {
  background-color: white !important;
}

.adjust-table th:not([class*="el-table-column--selection"]):hover:after {
  content: '';
  position: absolute;
  top: 25%;
  right: 0;
  height: 50%;
  width: 2px;
  background-color: #EBEEF5 !important;
}

.adjust-table tr:hover td {
  border-right: 0 !important;
}

.msTableColumn .el-tooltip {
  width: auto !important;
}
/* 表格拖拽表头调整宽度 --> */

/* <-- 表格 input 编辑效果 */
.table-edit-input .el-textarea__inner,
.table-edit-input .el-input__inner {
  border-style: hidden;
}

.table-edit-input.is-disabled .el-textarea__inner,
.table-edit-input.is-disabled .el-input__inner {
  background-color: white;
  color: #606266;
}

.el-table .current-row .table-edit-input {
  border: 1px solid #DCDFE6;
  border-radius: 5px;
}

.table-edit-input .el-textarea__inner:focus,
.table-edit-input .el-input__inner:focus {
  border: 1px solid #409EFF;
}

/* 表格 input 编辑效果 --> */

.ms-border {
  padding: 10px;
  border: #DCDFE6 solid 1px;
  margin: 5px 0;
  border-radius: 5px;
}

/* 修复带长度限制的文本框，内容太长造成的无法查看内容的问题 */

.el-input__inner[maxlength] {
  padding-right: 60px;
}

/* 滚动条样式 */
::-webkit-scrollbar{
  width: 10px;
  height: 10px;
  position: fixed;
}
::-webkit-scrollbar-thumb{
  border-radius: 1em;
  background-color: rgba(50,50,50,.3);
  position: fixed;
}
::-webkit-scrollbar-track{
  border-radius: 1em;
  background-color: transparent;
  position: fixed;
}

/* <-- 表格全选样式 */
.ms-select-all th:first-child.el-table-column--selection {
  border: 1px solid #DCDFE6;
  border-radius:5px;
  padding: 0px;
  margin-top: 10px;
  display: inline-block;
  /*margin-top: 25px;*/
  width: 50px;
}

.ms-select-all th:nth-child(2) {
  overflow: visible;
}

.ms-select-all th:first-child.el-table-column--selection>.cell {
  padding: 5px;
  width: 35px;
}

.ms-select-all th:nth-child(2)>.cell {
  overflow: visible;
}

.ms-select-all th:nth-child(2) .el-icon-arrow-down {
  position: absolute;
  display: inline-block;
  top: -7px;
  left: -38px;
  width: 30px;
}
/* 表格全选样式 --> */

/* <-- 表格全选样式 (列固定表格样式) */
.ms-select-all-fixed th:first-child.el-table-column--selection {
  border: 1px solid #DCDFE6;
  border-radius:5px;
  padding: 0px;
  margin-top: 10px;
  display: inline-block;
  /*margin-top: 25px;*/
  width: 50px;
}

.ms-select-all-fixed th:nth-child(2) {
  overflow: visible;
}

.ms-select-all-fixed th:first-child.el-table-column--selection>.cell {
  padding: 5px;
  width: 35px;
}

.ms-select-all-fixed th:nth-child(2)>.cell {
  overflow: visible;
}

.ms-select-all-fixed th:nth-child(2) .table-select-icon {
  position: absolute;
  display: inline-block;
  top: -4px;
  left: -30px;
  width: 30px;
}
/* 表格全选样式 --> */

*[disabled] {
  opacity: 1 !important;
}

.el-input.is-disabled .el-input__inner {
  background-color: #FBFBFB !important;
  color: #606266 !important;
}

.el-textarea.is-disabled .el-textarea__inner {
  background-color: #FBFBFB !important;
  color: #606266 !important;
}

/* ms-tip-button 自定间距 */
.el-button + .tooltip-btn, .tooltip-btn + .el-button, .tooltip-btn + .tooltip-btn {
  margin-left: 10px;
}

.run-button .el-button {
  background-color: #409EFF;
  border-color: #409EFF;
  color: white;
}

.ms-full-loading .el-loading-spinner {
  font-size: 16px;
}

.ace-chrome .ace_print-margin {
  width: 0px !important;
}
